package com.xinou.daily_report.PO.daily;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sun.org.apache.xpath.internal.operations.Bool;
import com.xinou.common.base.database.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * @author lcc
 * @create 2021-06-14
 * @注意 本内容仅限于dev414内部传阅，禁止外泄以及用于其他的商业目的
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DailyListPO extends Page {

    @ApiModelProperty(value = "状态，0表示未评论，1表示已评论未回复")
    private Integer status;

    @ApiModelProperty(value = "用户id")
    private Long workerId;

    @ApiModelProperty(value = "1 今日 2 历史 3 计划", hidden = true)
    private Integer dailyType;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd", timezone="GMT+8")
    private LocalDate dailyTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd", timezone="GMT+8")
    private LocalDate dailyTimeStart;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd", timezone="GMT+8")
    private LocalDate dailyTimeEnd;

}
